//
//  Singleton.m
//  BJS151148_ TeamProject_Travel
//
//  Created by lanou3g on 16/3/23.
//  Copyright © 2016年 lanou3g. All rights reserved.
//

#import "Singleton.h"

static Singleton *singleton = nil;
@implementation Singleton

+ (instancetype)shareSingle
{
    @synchronized(self) {
        if (singleton == nil) {
            singleton = [[Singleton alloc]init];
        }
    }
    return singleton;
}



@end
